# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=py3-rx
pkgver=3.1.1
pkgrel=0
pkgdesc="Reactive Extensions (Rx) for Python"
url="http://reactivex.io/"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-pytest py3-coverage py3-pytest-asyncio"
source="https://github.com/ReactiveX/RxPY/archive/v$pkgver/py3-rx-$pkgver.tar.gz"
builddir="$srcdir/RxPY-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="2426101a480cca7760ff90ed353389981b02bfd8c487be0291e3a2f2dc42e90b5db059a351807f70685cc53a96900ecff6f2979bb89b705b9a101754b7d30b44  py3-rx-3.1.1.tar.gz"
